@import './public.scss';
html,body{
    height: 100%;
}
body{
    position: relative;
    background-color: #f0f0f0;
    .login{
        margin:5% auto;
        width: 462px;
        background-color: #fff;
        border: 1px solid #dadada;
        padding: 0 18px;
        form{
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            >h3{
                margin-top: 20px;
                margin-bottom: 50px;
            }
            >.pwd{
                >i{
                    display: inline-block;
                    width: 18px;
                    height: 18px;
                    cursor: pointer;
                    background: url(/images/login2.png) no-repeat center center;
                    &.show{
                        background: url(/images/login4.png) no-repeat center center;
                    }
                }
            }
            >.input{
                position: relative;
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 38px;
                border: 1px solid #e4e4e4;
                background-color: #f7f7f7;
                width: 100%;
                margin-bottom: 14px;
                border-radius: 10px;
                padding: 0 15px;
                >span{
                    color: #bdb9b9;
                }
                >input{
                    flex-grow: 1;
                    border: none;
                    outline: none;
                    background-color: transparent;
                    padding-left: 15px;
                }
                >.title{
                    color: #c74c4c;
                    display: none;
                }
            }
            >.address{
                >.choose{
                    padding-right:11px;
                    background: url(/images/login1.png) no-repeat right center;
                }
                >.addressWarp{
                    display: none;
                    position: absolute;
                    right: 0;
                    top:38px;
                    z-index: 20;
                    width: 218px;
                    height: 346px;
                    overflow: hidden;
                    background-color: #fff;
                    border: 1px solid #e4e4e4;
                    border-radius: 10px;
                    overflow-y: auto;
                    >p{
                        margin: 0;
                        padding-left: 12px;
                        height: 30px;
                        line-height: 30px;
                        font-size: 12px;
                        color: #999;
                        border-bottom: 1px solid #e4e4e4;
                    }
                    >ul{
                        >li{
                            height: 44px;
                            line-height: 44px;
                            padding-left: 12px;
                            border-bottom: 1px solid #e2e2e2; ;
                            font-size: 14px;
                            color: rgba(0,0,0,.6);
                            font-weight: bold;
                            cursor: pointer;
                            &:hover{
                                background-color: #dbdbdb;
                            }
                        }
                    }
                }
            }
            .des{
                position: relative;
                display: flex;
                width: 100%;
                justify-content: space-between;
                .autologin{
                    margin-left: 20px;
                    display: flex;
                }
                >.devlop{
                    position: absolute;
                    display: none;
                    top: 10px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 110px;
                    height: 35px;
                    font-size: 12px;
                    line-height: 35px;
                    text-align: center;
                    border: 1px solid #bdb9b9;
                    border-radius: 7px;
                    background-color: rgb(186, 218, 123);
                }
            }
            >button{
                margin-top: 25px;
                outline: none !important;
            }
            >.otherLogin{
                display: flex;
                width: 100%;
                justify-content: space-between;
                margin: 12px 0;
                >.left{
                    display: flex;
                    align-items: center;
                    >a{
                        display: inline-block;
                        width: 16px;
                        height: 16px;
                        margin: 0 10px;
                        &:nth-child(1){
                            background: url(/images/login3.png) 0px -1px;
                        }
                        &:nth-child(2){
                            background: url(/images/login3.png) -31px 0px;
                        }
                        &:nth-child(3){
                            background: url(/images/login3.png) -63px 0px;
                        }
                        &:nth-child(4){
                            background: url(/images/login3.png) -93px 0px;
                        }
                    }
                }
                >.right{
                    cursor: pointer;
                    &:hover{
                        color: #742545;
                    }
                }
                &+p{
                    color: #c74c4c;
                    margin: 0;
                }
            }
            >hr{
                width: 100%;
            }
        }
    }
    .copy{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
